package com.cafuc.discipline.service.impl;

import com.cafuc.discipline.dao.DepartmentDao;
import com.cafuc.discipline.respone.Result;
import com.cafuc.discipline.service.DepartmentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author Mete
 * @createTime 2022/11/23 20:58
 * @description
 */

@Service
public class DepartmentServiceImpl implements DepartmentService {
    @Resource
    private DepartmentDao departdao;

    @Override
    public Result selectDep() {

        return Result.success(departdao.selectDep());
    }
}
